package com.zhizuobiao.coura.stock;

import java.util.List;

/**
 * Created by coura on 2016/12/13.
 */

public class HKStockList {

    /**
     * error_code : 0
     * reason : SUCCESSED!
     */

    private int error_code;
    private String reason;
    private ResultBean result;

    public int getError_code() {
        return error_code;
    }

    public void setError_code(int error_code) {
        this.error_code = error_code;
    }

    public String getReason() {
        return reason;
    }

    public void setReason(String reason) {
        this.reason = reason;
    }

    public ResultBean getResult() {
        return result;
    }

    public void setResult(ResultBean result) {
        this.result = result;
    }

    public static class ResultBean {
        /**
         * totalCount : 315
         * page : 1
         * num : 20
         * data : [{"symbol":"00001","name":"长和","engname":"CHEUNG KONG","tradetype":"EQTY","lasttrade":"91.250","prevclose":"92.050","open":"91.800","high":"91.950","low":"91.000","volume":"9773685","currentvolume":"513000","amount":"895062741","ticktime":"2016-12-13 16:09:36","buy":"91.250","sell":"91.300","high_52week":"105.400","low_52week":"80.600","eps":"8.200","dividend":"2.550","stocks_sum":"3857678500","pricechange":"-0.800","changepercent":"-0.8690929"},
         */

        private String totalCount;
        private String page;
        private String num;
        private List<DataBean> data;

        public String getTotalCount() {
            return totalCount;
        }

        public void setTotalCount(String totalCount) {
            this.totalCount = totalCount;
        }

        public String getPage() {
            return page;
        }

        public void setPage(String page) {
            this.page = page;
        }

        public String getNum() {
            return num;
        }

        public void setNum(String num) {
            this.num = num;
        }

        public List<DataBean> getData() {
            return data;
        }

        public void setData(List<DataBean> data) {
            this.data = data;
        }

        public static class DataBean {
            /**
             * symbol : 00001
             * name : 长和
             * engname : CHEUNG KONG
             * tradetype : EQTY
             * lasttrade : 91.250
             * prevclose : 92.050
             * open : 91.800
             * high : 91.950
             * low : 91.000
             * volume : 9773685
             * currentvolume : 513000
             * amount : 895062741
             * ticktime : 2016-12-13 16:09:36
             * buy : 91.250
             * sell : 91.300
             * high_52week : 105.400
             * low_52week : 80.600
             * eps : 8.200
             * dividend : 2.550
             * stocks_sum : 3857678500
             * pricechange : -0.800
             * changepercent : -0.8690929
             */

            private String symbol;
            private String name;
            private String engname;
            private String tradetype;
            private String lasttrade;
            private String prevclose;
            private String open;
            private String high;
            private String low;
            private String volume;
            private String currentvolume;
            private String amount;
            private String ticktime;
            private String buy;
            private String sell;
            private String high_52week;
            private String low_52week;
            private String eps;
            private String dividend;
            private String stocks_sum;
            private String pricechange;
            private String changepercent;

            public String getSymbol() {
                return symbol;
            }

            public void setSymbol(String symbol) {
                this.symbol = symbol;
            }

            public String getName() {
                return name;
            }

            public void setName(String name) {
                this.name = name;
            }

            public String getEngname() {
                return engname;
            }

            public void setEngname(String engname) {
                this.engname = engname;
            }

            public String getTradetype() {
                return tradetype;
            }

            public void setTradetype(String tradetype) {
                this.tradetype = tradetype;
            }

            public String getLasttrade() {
                return lasttrade;
            }

            public void setLasttrade(String lasttrade) {
                this.lasttrade = lasttrade;
            }

            public String getPrevclose() {
                return prevclose;
            }

            public void setPrevclose(String prevclose) {
                this.prevclose = prevclose;
            }

            public String getOpen() {
                return open;
            }

            public void setOpen(String open) {
                this.open = open;
            }

            public String getHigh() {
                return high;
            }

            public void setHigh(String high) {
                this.high = high;
            }

            public String getLow() {
                return low;
            }

            public void setLow(String low) {
                this.low = low;
            }

            public String getVolume() {
                return volume;
            }

            public void setVolume(String volume) {
                this.volume = volume;
            }

            public String getCurrentvolume() {
                return currentvolume;
            }

            public void setCurrentvolume(String currentvolume) {
                this.currentvolume = currentvolume;
            }

            public String getAmount() {
                return amount;
            }

            public void setAmount(String amount) {
                this.amount = amount;
            }

            public String getTicktime() {
                return ticktime;
            }

            public void setTicktime(String ticktime) {
                this.ticktime = ticktime;
            }

            public String getBuy() {
                return buy;
            }

            public void setBuy(String buy) {
                this.buy = buy;
            }

            public String getSell() {
                return sell;
            }

            public void setSell(String sell) {
                this.sell = sell;
            }

            public String getHigh_52week() {
                return high_52week;
            }

            public void setHigh_52week(String high_52week) {
                this.high_52week = high_52week;
            }

            public String getLow_52week() {
                return low_52week;
            }

            public void setLow_52week(String low_52week) {
                this.low_52week = low_52week;
            }

            public String getEps() {
                return eps;
            }

            public void setEps(String eps) {
                this.eps = eps;
            }

            public String getDividend() {
                return dividend;
            }

            public void setDividend(String dividend) {
                this.dividend = dividend;
            }

            public String getStocks_sum() {
                return stocks_sum;
            }

            public void setStocks_sum(String stocks_sum) {
                this.stocks_sum = stocks_sum;
            }

            public String getPricechange() {
                return pricechange;
            }

            public void setPricechange(String pricechange) {
                this.pricechange = pricechange;
            }

            public String getChangepercent() {
                return changepercent;
            }

            public void setChangepercent(String changepercent) {
                this.changepercent = changepercent;
            }
        }
    }
}
